function [ ] = plotDeformation( domain2D, rx, ry, bx, by, dx, dy )
%PLOTDEFORMATION Summary of this function goes here
%   Detailed explanation goes here

px = [domain2D.x'; rx];
py = [domain2D.y'; ry];

fx = [bx; dx];
fy = [by; dy];

px = px + fx;
py = py + fy;

n = size(px, 1);

figure;

tri = delaunay(px, py);

trisurf(tri, px, py, zeros(n, 1));

view(2);

axis ( [ -2, 2, -2, 3] );
% caxis( [ 0.85, 1.15] );
axis square;

colorbar;

end

